#include <stdio.h>

//https://www.nowcoder.com/practice/a95744270f274a14a8a0dafe10421589?tpId=290&tqId=309105&ru=/exam/oj/ta&qru=/ta/beginner-programmers/question-ranking&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D290

int main() {
    int num = 0;
    while (scanf("%d", &num) != EOF) {
        while (num--) {
            printf("*");
        }
        printf("\n");
    }
    return 0;
}